package S09.first;
public class Student extends Person {
	private String school;
	public String getSchool() {
		return school;
	}
	public Student(String name, int age, String school) {
		super(name, age);
		this.school = school;
	}
	@Override
	public String toString() { //重写父类Person的toString方法
		return super.toString() + "•就读于" + school;
	}
}
